<form action="/index" method="POST">
   <div class="loginBox">
      <div class="loginTopContent">
         <div class="left">
            <div style="margin-top: 30px;margin-left: 10px;">
               <img src="<?php echo DIR_IMG ."/icon/alcatel-logo.png"; ?>" title="Alcatel Lucent" />
               &nbsp;&nbsp;
               <img src="<?php echo DIR_IMG ."/icon/dpwh-logo.png"; ?>"  title="DPWH"/>
            </div>
         </div>
         <div class="right">
            <label class="h3">
               Administrative Portal
            </label>
            <label class="h4">
               Sign in to your Account!
            </label>
            <div class="align_left">
               <input type="text" name="username" id="username" class="user_icon_login" rel="tooltip" title="Type your Username" placeholder="Username"><br />
               <input type="password" name="password" id="password" class="user_password" rel="tooltip" title="Type your Password" placeholder="Password"><br />
            </div>
         </div>
      </div>
      <div class="hr"></div>
      <div class="loginBottomContent">
         <div class="right h2">
            <div class="position">
            </div>
         </div>
         <div class="left align_right" style="margin-top: 5px;">
            <input type="submit" name="" id="" class="btn" title="" value="Login">
         </div>
         <?php
         /* For user login if wrong redirect to index/login */
         if($_SERVER['REQUEST_METHOD'] == "POST")
         {
            if(!$login)
            {
              echo
              '
              <div class="notification_wrapper">
                 <div class="wrong">
                    <img src="images/warning/closed.png" width="22" height="19" class="img-notification-position">
                    <div class="notification-position">    
                        Invalid username & Password, Try to login again!
                    </div>
                </div>
              </div>
              ';
            }
         }
         else
         {
            echo 
            '
            <div class="notification_wrapper">
               <div class="warning">
                  <img src="images/warning/warning.png" width="22" height="19" class="img-notification-position">
                  <div class="notification-position">    
                     Type anything to login.
                  </div>
              </div>
            </div>
            ';
         }
        ?>
      </div>
   </div>
</form>